// 主地址
const api = 'https://www.qiyueduba.com/index.php/Home/Index/';
// 登录
const v1 = 'login';
function login() {
  return api + v1;
};
// 获取Banner
const v2 = 'getBanner';
function getBanner() {
  return api + v2;
};
// 保存用户信息
const v3 = 'check_login';
function checkLogin() {
  return api + v3;
};
// 个人中心
const v4 = 'getUser';
function getUser() {
  return api + v4;
};
// 绑定手机号
const v5 = 'bindPhone';
function bindPhone() {
  return api + v5;
};
//获取默认地区
const v6 = 'getMapList';
function getMapList() {
  return api + v6;
};
//获取书柜列表
const v7 = 'getBookStore';
function getBookStore() {
  return api + v7;
};
//充值
const v8 = 'rechargeMoney';
function rechargeMoney() {
  return api + v8;
};
//订单支付
const v9 = 'rechargePay';
function rechargePay() {
  return api + v9;
};
//缴纳押金
const v10 = 'addDeposit';
function addDeposit() {
  return api + v10;
};
//缴纳押金
const v11 = 'addDepositMoney';
function addDepositMoney() {
  return api + v11;
};


//故障报修
const v12 = 'addBaoxiu';
function addBaoxiu() {
  return api + v12;
};
//故障报修添加图片
const v13 = 'addPic';
function addPic() {
  return api + v13;
};

//退押金
const v14 = 'rerundMoney';
function rerundMoney() {
  return api + v14;
};
//判断是否交过押金
const v15 = 'getIsDeposit';
function getIsDeposit() {
  return api + v15;
};

//获取交易明细
const v16 = 'getRecord';
function getRecord() {
  return api + v16;
};
//获取余额
const v17 = 'getTotalMoney';
function getTotalMoney() {
  return api + v17;
};
//是否绑定手机号
const v18 = 'isBindPhone';
function isBindPhone() {
  return api + v18;
};

//获取订单列表
const v19 = 'getOrderList';
function getOrderList() {
  return api + v19;
};
//获取订单详情
const v20 = 'getOrderDetail';
function getOrderDetail() {
  return api + v20;
};
//未支付订单去支付
const v21 = 'reduceBalance';
function reduceBalance() {
  return api + v21;
};

//打开柜门
const v22 = 'openDoor';
function openDoor() {
  return api + v22;
};
//判断柜门是否已开启
const v23 = 'getIsOpenDoor';
function getIsOpenDoor() {
  return api + v23;
};
//借还书完成调用信息
const v24 = 'getNewOrderList';
function getNewOrderList() {
  return api + v24;
};
//获取用户Id
const v25 = 'getUid';
function getUid() {
  return api + v25;
};
//未支付订单去支付
const v26 = 'reduceManyBalance';
function reduceManyBalance() {
  return api + v26;
};

//书丢了
const v27 = 'getLostBook';
function getLostBook() {
  return api + v27;
};
//获取新用户优惠列表
const v28 = 'getYouHuiList';
function getYouHuiList() {
  return api + v28;
};
//用户是否押金
const v29 = 'addUserDeposit';
function addUserDeposit() {
  return api + v29;
};
//获取问答列表
const v30 = 'getQuestionList';
function getQuestionList() {
  return api + v30;
};
//判断是不是新用户
const v31 = 'getNewUser';
function getNewUser() {
  return api + v31;
};
//书柜的详情
const v32 = 'getTypeBook';
function getTypeBook() {
  return api + v32;
};







module.exports = {
  login: login,
  getBanner: getBanner,
  checkLogin: checkLogin,
  getUser: getUser,
  bindPhone: bindPhone,
  getMapList: getMapList,
  getBookStore: getBookStore,
  rechargeMoney: rechargeMoney,
  rechargePay:rechargePay,
  addDeposit: addDeposit,
  addDepositMoney: addDepositMoney,
  addBaoxiu: addBaoxiu,
  addPic: addPic,
  rerundMoney: rerundMoney,
  getIsDeposit: getIsDeposit,
  getRecord: getRecord,
  getTotalMoney: getTotalMoney,
  isBindPhone: isBindPhone,
  getOrderList: getOrderList,
  getOrderDetail: getOrderDetail,
  reduceBalance: reduceBalance,
  openDoor: openDoor,
  getIsOpenDoor: getIsOpenDoor,
  getNewOrderList: getNewOrderList,
  getUid: getUid,
  reduceManyBalance: reduceManyBalance,
  getLostBook: getLostBook,//书丢了
  getYouHuiList: getYouHuiList,
  addUserDeposit: addUserDeposit,//是否交押金
  getQuestionList: getQuestionList,//获取问答列表
  getNewUser: getNewUser,
  getTypeBook: getTypeBook

 
  
};